<?php

session_start();

$_SESSION['initialized'] = true;
	
$_SESSION['usertype'] 	= 'guest';		// guest, user, admin
$_SESSION['userid'] 	= 0;
$_SESSION['username'] 	= '';
		
$_SESSION['where'] 		= 'main';		// main hoặc admin
$_SESSION['view'] 		= 'home';		// main: home, entry, comments; admin: users, entries, edit
$_SESSION['page'] 		= 1;			
$_SESSION['id'] 		= 0;			

$_SESSION['message'] 	= '';

header("Location: main.php");

?>